package stc.skymobi.netty.handler.codec.memcached.bean.request;

import stc.skymobi.bean.bytebean.annotation.ByteField;

public class RetrievalRequest extends BinaryRequestHeader{
    
    @ByteField(index = 9,description = "",charset = "UTF-8")
    private String key;

    private boolean asString;

    public void setKey(String key) {
        this.key = key;
    }

    @Override
    public String getKey() {
        return key;
    }

    public boolean isAsString() {
        return asString;
    }

    public void setAsString(boolean asString) {
        this.asString = asString;
    }
}
